package com.yuch;

import com.yuch.config.JDBCConfig;
import com.yuch.entity.ServerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties({ServerConfig.class,JDBCConfig.class})//这个是指定加载在类上的
public class Springbbot0101QiuckApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springbbot0101QiuckApplication.class, args);
    }

}
